
/**
 * AppleIIGo
 * Internal ROM class
 * (C) 2008 by Marc S. Ressl (mressl@umich.edu)
 * Released under the GPL
 */

#include "InternalROM.h"

InternalROM::InternalROM(Motherboard * motherboard,
						 char * slotDeviceName) :
SlotDevice(motherboard, slotDeviceName) {
}

void InternalROM::onDevicesConnected() {
	SlotDevice::onDevicesConnected();
	mmu = motherboard->getMmu();
}

UINT8 InternalROM::readMemory(UINT16 address) {
	return mmu->readMemoryDirect(address);
}
